/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ControlEscolar.Validations;

import com.ControlEscolar.Beans.Reticle;
import com.ControlEscolar.DAOs.DAOException;
import com.ControlEscolar.DAOs.ReticleDAO;


/**
 *
 * @author Rodna Marrufo
 */
public class ValidationsReticle extends BasicValidation{
    ReticleDAO reticleDAO = new ReticleDAO();

    public boolean isExistReticle(String subjectKey, int ID_Curriculum) throws DAOException{
        Reticle searchReticle= reticleDAO.queryBySubjectKey(subjectKey, ID_Curriculum);
        return isFound(searchReticle);
        
    }

   

}
